// const ROOT_PATH = 'http://172.16.3.245:20002'//刘信明
// const ROOT_PATH="http://172.16.2.99:20002" //明强
const ROOT_PATH="http://172.16.2.248:20002" //王伟
// const ROOT_PATH="http://172.16.2.118:20002"//本地测试地址
// const ROOT_PATH="https://yqqywgryglfwxt1.njga.gov.cn:20001" //测试服地址
// const ROOT_PATH ='http://172.16.3.156:20002'//夏永刚
// const ROOT_PATH = 'http://172.16.3.39:20002'//刘韩元
const IMG_PATH = 'https://yqqywgryglfwxt1.njga.gov.cn:20001/xyt/icon' //图片加载地址

const apiList = {
   // 人员管理
   waitInterview:ROOT_PATH+"/xyt-app/labour/queryEmployeeForInterview", //待面试列表
   onJob:ROOT_PATH+"/xyt-app/labour/queryEmployeeInfoList", //在职列表
   leaveJob:ROOT_PATH+"/xyt-app/labour/queryEmployeeLeaveList", //离职列表
   outsourceWorker:ROOT_PATH+"/xyt-app/labour/OutsourceWorker", //外协列表
   leaveRoom:ROOT_PATH+"/xyt-app/labour/queryDownlineEmployeeDormList",//离宿列表
   onRoom:ROOT_PATH+"/xyt-app/labour/queryOnlineEmployeeDormList", //在宿列表
   onJobBasicInfo:ROOT_PATH+"/xyt-app/labour/queryEmployeeInfoBasic",//入职基本详情
   onJobWorkInfo:ROOT_PATH+"/xyt-app/labour/queryEmployeeInfoWork",//入职工作详情
   onJobLiveInfo:ROOT_PATH+"/xyt-app/labour/queryEmployeeInfoLive",//入职居住详情
   personalDetail:ROOT_PATH+"/xyt-app/labour/detailsEmployee",  //人员详情
   leaveJobeRegister:ROOT_PATH+"/xyt-app/labour/editEmployeenInfoJobStatus", //离职登记
   leaveRoomRegister:ROOT_PATH+"/xyt-app/labour/levelDormSign", //离宿登记
   checkJob:ROOT_PATH+"/xyt-app/labour/editEmployeeForInterview", //面试审核
   jobRegister:ROOT_PATH+"/xyt-app/labour/editEmployeeToEntry", //入职登记
  //  getLabelCompany:ROOT_PATH+"/xyt-app/labour/",  //通知是否通过
   getLabourList:ROOT_PATH+"/xyt-app/business/queryLabourListByBusinessComponentCode",  //获取劳务公司列表
   queryEmployeeWaitCount:ROOT_PATH+"/xyt-app/labour/queryEmployeeWaitCount",//获取角标
   enterRoom:ROOT_PATH+"/xyt-app/labour/addEmployeeToDorm",
   pendingequest:ROOT_PATH+"/xyt-app/labour/handleEntryJob",
   checkLabor:ROOT_PATH+"/xyt-app/labour/checkLabor",
   registerVisitor:ROOT_PATH+"/xyt-app/index/registerVisitor",
   newScanVisitorRegister:ROOT_PATH+"/xyt-app/index/newScanVisitorRegister",
   detailSelfInfo:ROOT_PATH+"/xyt-app/labour/detailSelfInfo?openId=",
   
   checkAppManagerUser:ROOT_PATH+"/xyt-app/index/checkAppManagerUser/",  //非务工人员效验接口功能:
   doLoginAppManagerUser:ROOT_PATH+"/xyt-app/index/doLoginAppManagerUser", //多个用户选择一个进行认证

   //排班
   addBusinessDutyDO:ROOT_PATH+"/xyt-app/business/addBusinessDutyDO", //添加值班
  
   queryBusinessDutyVO:ROOT_PATH+"/xyt-app/business/queryBusinessDutyVO",  //排班列表
   editBusinessDutyVO:ROOT_PATH+"/xyt-app/business/editBusinessDutyDO", //更新排班
   deleteBusinessDutyDO:ROOT_PATH+"/xyt-app/business/deleteBusinessDutyDO", //删除排班
   //安全考试
   getExamDetaily:ROOT_PATH+"/xyt-app/questions/queryPaperInfoById",  //获取试卷详情
   submitExam:ROOT_PATH+"/xyt-app/questions/addQuestionAnswerInfo",  //提交试卷
   getExamById:ROOT_PATH+"/xyt-app/questions/queryPaperIdByOrgCode",
   
   //身份证与姓名校验
   checkByPerson:ROOT_PATH+"/xyt-app/labour/checkByPerson",

}

module.exports = {
  ROOT_PATH: ROOT_PATH,
  ApiRootUrl: ROOT_PATH + '/xyt-app',
  IMG_PATH:IMG_PATH,
  apiList,
};